package org.smog.core.config.security.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.smog.core.dto.base.BaseDto;

import java.util.Date;

/**
 * @Description: Created by IntelliJ IDEA.
 * @project_name: smogTemp
 * @time: 2020-05-14 11:41
 * @email: 17685306043@163.com
 * @author: huangZhongYao
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class JwtToken extends BaseDto {

    private static final long serialVersionUID = 5683370277594377523L;

    @ApiModelProperty("Token")
    private String accessToken;

    @ApiModelProperty("Token请求前缀")
    private String tokenType;

    @ApiModelProperty("Token有效期至 null 表示永久有效")
    private Date expirationDate;
}
